#set($userid=$webutil.getUser($request).getUserId())
#set ($carlist=$myweb.getList("ES_SHOPCART_GOODS","lastlist","ES_SHOPCART_GOODS.ownerid==$userid"))
<i class="cover"></i>
#if($carlist.size()>0&&$userid>1)
<p>最近订货单</p>
	#foreach ($cart in $carlist)
	#set($pdtinfo=$goodscache.getESGoodsCache($getutil.getInteger($cart.es_goods_id)))
	<div class="block">
		<a href="">
			<img src="$!pdtinfo.getTHUMB()" alt="">
			<p class="title">$!pdtinfo.getNAME()</p>
			<div class="norms">
				<p>
					<span>颜色: </span>
					<span>$!cart.spec1</span>
				</p>
				<p>
					<span>尺寸: </span>
					<span>$!cart.spec2</span>
				</p>
			</div>
			<p class="price">
			$!{cart.goods_price}元 x $!{cart.goods_number}
			</p>
		</a>
		<button class="del">删除</button>
	</div>
	<a href="/e/ct">查看更多</a>
	#end
#else
	<p class="error">请挑选您的商品！</p>
#end

